function Box2Helper(obj, scene) {
    var top = new Halo.WtImage();
    var bottom = new Halo.WtImage();
    var left = new Halo.WtImage();
    var right = new Halo.WtImage();

    top.setAnchorType(Halo.ANCHOR_LEFT, Halo.ANCHOR_BOTTOM);
    bottom.setAnchorType(Halo.ANCHOR_LEFT, Halo.ANCHOR_BOTTOM);
    left.setAnchorType(Halo.ANCHOR_LEFT, Halo.ANCHOR_BOTTOM);
    right.setAnchorType(Halo.ANCHOR_LEFT, Halo.ANCHOR_BOTTOM);

    scene.getWidgetRoot().add(top);
    scene.getWidgetRoot().add(bottom);
    scene.getWidgetRoot().add(left);
    scene.getWidgetRoot().add(right);

    this.dispose = function () {
        scene.getWidgetRoot().remove(top);
        scene.getWidgetRoot().remove(bottom);
        scene.getWidgetRoot().remove(left);
        scene.getWidgetRoot().remove(right);
    }

    this.refresh = function() {
        var x = obj.dimension.min.x;
        var y = obj.dimension.min.y;
        var w = obj.dimension.max.x - x;
        var h = obj.dimension.max.y - y;
    
        top.setOffset(x, y+h-1);
        bottom.setOffset(x, y);
        left.setOffset(x, y);
        right.setOffset(x+w-1, y);
    
        top.setSize(w, 1);
        bottom.setSize(w, 1);
        left.setSize(1, h);
        right.setSize(1, h);
    };

    this.refresh();
 }